package com.qf.sys.po;

/**
 * @创建人 sunsir Email:sunsir163@163.com
 * @创建时间 2022/5/6
 * @描述
 */
public class Role {//id int job varchar deptNo int status int  序号  职位名称 所属部门 状态
    private Integer id;     //序号         ->id
    private String job;     //职位名称     ->job
    private Dept dept;      //所属部门     ->deptNo
    private Integer status=1; //状态       ->status

    //get set 构造器方法

    public Role() {
    }

    public Role(String job, Dept dept, Integer status) {
        this.job = job;
        this.dept = dept;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", job='" + job + '\'' +
                ", dept=" + dept +
                ", status=" + status +
                '}';
    }
}
